.container {
  background-color: #f5f5f5;
  padding-bottom: 140px;
  min-height: 100vh;
  box-sizing: border-box;

  & > div {
    position: relative;
  }

  .banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #16ba7e;
    position: relative;
    z-index: 4;
    padding-top: 50px;

    .electric {
      display: flex;
      align-items: center;
      width: 100%;
      justify-content: center;
      margin-bottom: 52px;
      padding-top: 62px;

      .electric-svg {
        width: 50px;
        height: 24px;
        display: flex;
        margin-right: 18px;
      }

      & > span {
        font-size: 24px;
        color: #fff;
        height: 24px;
      }
    }

    .banner-text {
      display: flex;
      align-items: center;
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      margin-bottom: 40px;

      div {
        color: #fff;
        font-weight: 500;
      }

      .title {
        font-size: 28px;
      }

      .num {
        font-size: 60px;
        margin-top: 10px;
      }
    }

    .show_time {
      color: #fff;
      font-size: 22px;
      margin-top: 12px;
    }
  }

  .banner-error {
    background-color: #fa4b4b;
  }

  .banner-offline {
    background-color: #737373;
  }

  .content {
    margin: 32px 32px 0;
    &-body {
      display: flex;
      flex-wrap: wrap;

      .mode {
        display: flex;
        align-items: center;
        flex: 0 0 calc(50% - 9px);
        background-color: #fff;
        border-radius: 20px;
        margin-bottom: 20px;
        padding: 32px;
        box-sizing: border-box;

        .mode-svg {
          width: 68px;
          height: 68px;
          display: flex;
        }

        &:nth-of-type(odd) {
          margin-right: 18px;
        }

        & > div {
          display: flex;
          flex-direction: column;
          justify-content: center;
          margin-left: 20px;
        }
        .con {
          flex: 1;
        }
        .mode-btn {
          color: var(--score-primary-color);
          border: 2px solid var(--score-primary-color);
          border-radius: 12px;
          width: 140px;
          height: 60px;
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 28px;
        }

        .title {
          color: var(--title-color);
          font-size: 28px;
          font-weight: bold;
        }

        .description {
          color: var(--sub-title-color);
          font-size: 24px;
          margin-top: 10px;
        }
      }
      .mode3 {
        flex: 1;
        margin-right: 0 !important;
      }
    }
  }

  .actions {
    display: flex;
    justify-content: space-between;
    margin: 20px 32px;

    &-card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex: 1;
      background-color: #fff;
      border-radius: 20px;
      padding: 36px 32px;
      position: relative;

      img {
        width: 15px;
        height: 28px;
      }

      &_left {
        display: flex;
        flex-direction: column;
        justify-content: center;

        &--title {
          color: var(--title-color);
          font-size: 34px;
          font-weight: Bold;
        }

        &--details {
          color: var(--sub-title-color);
          font-size: 24px;
          margin-top: 10px;
        }
      }
    }

    &-card:active {
      background-color: #e9e9e9;
    }

    &-card:first-child {
      margin-right: 18px;
    }
  }

  .btn {
    background-color: #ffffff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;

    div {
      background-image: linear-gradient(to right, #00d8af, #00c5a1);
      color: #ffffff;
      font-size: 34px;
      width: calc(100% - 140px);
      height: 80px;
      border-radius: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    div:active {
      background-image: linear-gradient(to right, #00c29f, #00c29f);
    }
  }

  :deep(.van-picker__confirm) {
    color: rgba(0, 216, 175, 0.8);
    font-size: 32px;
  }

  :deep(.van-picker-column__item--selected) {
    color: var(--primary);
    font-size: 40px;
  }

  :deep(.van-progress__pivot) {
    min-width: 36px;
    min-height: 36px;
    line-height: 36px;
    background-color: #fff !important;
    border-radius: 100%;
    padding: 0;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
  }

  :deep(.van-picker__columns) {
    padding: 0 100px;
  }

  .h-unit {
    position: absolute;
    left: calc(25% + 120px);
    top: calc(50% + 18px);
    // color: rgba(0, 216, 175, .8);
    color: var(--primary);
    font-size: 36px;
  }

  ::v-deep {
    color: var(--primary);
  }
}
.tooth-icon {
  width: 280px;
  height: 280px;
  img {
    width: 100%;
    height: 100%;
  }
}

.mask {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 4;
  width: 100%;
  height: 100%;
}

.btn-mask {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 4;
  width: 100%;
  height: 120px;
}

.p-wrapper {
  position: relative;
}

.p-unit {
  position: absolute;
  left: calc(50% + 50px);
  top: calc(50% + 24px);
  // color: rgba(0, 216, 175, .8);
  color: var(--primary);
  font-size: 28px;
}
